<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>动态搜索框</title>
  <link rel="stylesheet" href="style.css">
  <link href="https://cdn.bootcss.com/font-awesome/5.8.1/css/all.min.css" rel="stylesheet">
</head>
<body>
  <div class="search-box">
    <input class="search-txt" type="text" name="" placeholder="输入搜索">
    <a href="#" class="search-btn">
      <i class="fas fa-search"></i>
    </a>
  </div>
</body>
</html>